class Schedule < ActiveRecord::Base
  has_many :schedule_intervals
  has_many :intervals, :through => :schedule_intervals
  has_many :group_schedules
  has_many :groups, :through => :group_schedules

  validates_presence_of :is_active
end
